package com.cqhilink.iot.jobstandardmanagement.services.outerservice.impl;

import com.cqhilink.iot.jobstandardmanagement.facade.model.Ztree;
import com.cqhilink.iot.jobstandardmanagement.facade.service.OutServiceNodeService;
import com.cqhilink.iot.jobstandardmanagement.facade.service.servicenode.JsmServiceNodeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by huangxueqian on 2017/2/9/009.
 * 业务体系：业务节点查询
 */

public class OutServiceNodeImpl implements OutServiceNodeService {
    @Autowired
    private JsmServiceNodeService serviceNodeService ;
    @Override
    public List<Ztree> loadServiceNode(String nodeName) {

        return serviceNodeService.getInitZtree(nodeName);
    }
}
